package com.yunlongcoding.cahuomarketing.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 会员订单明细表
 */
public class ChmOrderDetail implements Serializable {

    private static final long serialVersionUID = -837200285094591609L;

    // 主键id
    private Long id;

    // 订单id
    private Long orderId;

    // 商品id
    private Long goodsId;

    // 会员id
    private Long memberId;

    // 购买商品数量
    private Integer buyNumber;

    // 商品名称
    private String goodsName;

    // 商品价格
    private BigDecimal goodsPrice;

    // 商品总额
    private BigDecimal totalAmount;

    // 商品图片url
    private String goodsPicUrl;

    // 商品总积分
    private BigDecimal totalIntegral;

    // 商品总消费金
    private BigDecimal totalConsumerMoney;

    // 是否已评价（0：未评价 1：已评价）
    private Short isComment;

    // 创建时间
    private Date createTime;

    // 更新时间
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Integer getBuyNumber() {
        return buyNumber;
    }

    public void setBuyNumber(Integer buyNumber) {
        this.buyNumber = buyNumber;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getGoodsPicUrl() {
        return goodsPicUrl;
    }

    public void setGoodsPicUrl(String goodsPicUrl) {
        this.goodsPicUrl = goodsPicUrl == null ? null : goodsPicUrl.trim();
    }

    public BigDecimal getTotalIntegral() {
        return totalIntegral;
    }

    public void setTotalIntegral(BigDecimal totalIntegral) {
        this.totalIntegral = totalIntegral;
    }

    public BigDecimal getTotalConsumerMoney() {
        return totalConsumerMoney;
    }

    public void setTotalConsumerMoney(BigDecimal totalConsumerMoney) {
        this.totalConsumerMoney = totalConsumerMoney;
    }

    public Short getIsComment() {
        return isComment;
    }

    public void setIsComment(Short isComment) {
        this.isComment = isComment;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}